package cn.xtxfan.domain.user.service.impl;

import cn.xtxfan.domain.user.model.dto.CheckUserDTO;
import cn.xtxfan.domain.user.model.entity.CheckUserEntity;
import cn.xtxfan.domain.user.repository.IUserRepository;
import cn.xtxfan.domain.user.service.ICheckUserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @className: CheckUserService
 * @author: XTX
 * @date: 2025/7/19 16:10
 * @Version: 1.0
 * @description:
 */
@Service
@Slf4j
public class CheckUserService implements ICheckUserService {

    @Resource
    private IUserRepository repository;

    @Override
    public CheckUserDTO queryCheckUser(CheckUserEntity checkUser) {
        return repository.queryCheckUser(checkUser);
    }
}

